package ch7.ex2;

public class Shapes {
	private static RandomShapeGenerator r = new RandomShapeGenerator();
	
	public static void main(String... args){
		Shape[] s = new Shape[12];
		
		for(int i = 0; i < s.length; i++){
			s[i] = r.next();
		}
		for(Shape ss:s){
			ss.draw();
			ss.erase();
			ss.msg();
		}
	}
}
